package com.hellobike.haxing.modules.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description: t_purchase_pro_record
 * @Author: haxing-boot
 * @Date:   2020-03-04
 * @Version: V1.0
 */
@Data
@TableName("t_purchase_pro_record")
public class TPurchaseProRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.INPUT)
    private Long id ;
	/**供应商内部信息id*/
	@Excel(name = "供应商内部信息id", width = 15)
    private Long supplierId ;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
        private String supplierName ;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
    private Long skuId ;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
        private String skuName ;
	/**单位*/
	@Excel(name = "单位", width = 15)
        private String skuUnit ;
	/**规格*/
	@Excel(name = "规格", width = 15)
        private String dimensionValues ;
	@Excel(name = "采购价", width = 15)
	private BigDecimal purchasePrice ;
	/**采购数量*/
	@Excel(name = "采购数量", width = 15)
        private Integer purchaseVolume ;
	/**仓库id*/
	@Excel(name = "仓库id", width = 15)
    private Long warehouseId ;
	/**仓库名称*/
	@Excel(name = "仓库名称", width = 15)
        private String warehouseName ;
	/**orderCode*/
	@Excel(name = "orderCode", width = 15)
        private String orderCode ;
	/**orderTime*/
	@Excel(name = "orderTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date orderTime ;
	/**同步类型：0减1增*/
	@Excel(name = "同步类型：0减1增", width = 15)
        private Integer type ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private Integer deleted ;

	private Date startTime;
	private Date endTime;
}
